﻿using System.Collections.Generic;
using System.Linq;

namespace ServerEngine
{
    public partial class ServerClient
    {

        void HelpCommand(List<string> message)
        {
            string strData = ServerCommandActions.Keys.Aggregate("", (current, cmd) => current + (cmd + '\t'));
            SendWorldMessage("Available server commands: "+strData);
        }

        void VersionCommand(List<string> message)
        {
            SendWorldMessage(Server.Version);
        }

    }
}
